package com.example.mapper;

import com.example.pojo.education;
import com.example.pojo.major;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MajorMapper {
    //获取专业表
    @Select("select * from major")
    List<major> getMList();

    //获取学历表
    @Select("select * from education")
    List<education> getEList();
}
